package com.itheima03.day11;

import java.io.File;
import java.io.IOException;

/**
 * @author 刘全
 * @date 2021/7/30
 */
public class FileTest1 {
    public static void main(String[] args) throws IOException {
        //File file = new File("D:\\itheima\\FileDemo\\憨丕.txt");
        //boolean result = file.delete();
        File file = new File("a.txt");
        boolean result = file.createNewFile();
        System.out.println(result);
    }
}
